﻿using System;
using System.Collections.Generic;
using System.Text;
using Common.Infrastructure;

namespace Common.EF.Structs
{
    public class ContextTimeParam
    {
        public ContextTimeParam()
        {
            BeginTime = new DateTime(2019, 12, 1);
            EndTime = DateTime.MaxValue;
            this.Hosts = new List<ContextTimeHostParam>();
        }

        public DataBaseTypeEnum DbType { get; set; }

        public ContextTimeContextTimeTypeEnum TimeType { get; set; }

        public int Time { get; set; }

        public DateTime? BeginTime { get; set; }

        public DateTime? EndTime { get; set; }

        public List<ContextTimeHostParam> Hosts { get; set; }
    }
}
